package com.mutual.assistance.user.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 用户找回密码
 * @date 2023/4/26 19:29
 */
@Data
@ApiModel("用户找回密码")
public class RetrievePasswordVO {

    @ApiModelProperty("用户名称")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

    @ApiModelProperty(value = "用户新密码")
    @NotBlank(message = "新密码不能为空")
    private String password;
}
